cubic equation with one real and two complex roots